﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Nofs.Net.Cache.Impl
{
    public interface IRepresentationBuilder
    {
        void PopulateWith(String data);// throws Exception;
        String TranslateToString();// throws Exception;
        IFolderReference GetRoot();
        IFolderReference AddFolder(IFolderReference folder, String name);
        List<IFolderReference> GetChildren(IFolderReference folder);
        void SetFolderValue(IFolderReference folder, Object value);
        String GetFolderValue(IFolderReference folder);
        IFolderReference FindChildByName(IFolderReference parent, String name);// throws Exception;
    }
}
